package com.example.hello.mapper;

import java.time.LocalDateTime;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.hello.entity.AlarmInfo;

@Mapper
public interface AlarmInfoMapper {
    List<AlarmInfo> selectByDeviceIdAndTimeRangeAndResolved(
            @Param("deviceId") Integer deviceId,
            @Param("startTime") LocalDateTime startTime,
            @Param("endTime") LocalDateTime endTime,
            @Param("resolved") Boolean resolved);
} 